<?php



$role = $_POST['role'];
$content = $_POST['content'];
if($role && $content){
    $response = get_content_by_role($role,$content);
    echo $response;
}